Exemple #1
0
        public static async Task <bool> TryProtectExcelWorksheetAsync()
        {
            string createdFileId = await UserSnippets.UploadExcelFileAsync("excelTestResource.xlsx");

            bool worksheetProtected = await UserSnippets.ProtectExcelWorksheetAsync(createdFileId);

            return(worksheetProtected);
        }