![]() ![]() Unless I hear back from you, I will assume that you might have mistakenly assumed that the caching was not working in Excel and that you have since verified this. SzcontentHash = Convert.ToBase64String(hashAlgorithm.ComputeHash(fileStream)) Using ( hashAlgorithm = new 256CryptoServiceProvider()) Below is the code I'm using in my CheckFileInfo handler function to hash the contents of files in my WOPI host:įileStream fileStream = File.Open(requestData.FullPath, FileMode.Open, FileAccess.Read, FileShare.None) ![]() By using Office Document Cache you can keep complete control and track how uploads are progressing and whether any files need your attention. Subsequent GetFile with contents requests. The Office Document Cache is a concept used in Microsoft Office Upload Center to give you a way to see the state of files you are uploading to a SharePoint server. change the Office Document Cache location and click OK, the registry key, HKEYCURRENTUSERSoftwareMicrosoftOffice15.0InternetOfficeCacheLocation. I tested Word and Excel Online and they both seem to respect the SHA256 parameter in CheckFileInfo, using it to cache the files and prevent ![]() Although I've not heard back from you, I did a few tests with both Office Online Server 2016 RTM and Preview versions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |