// For complete examples and data files, please go to https://github.com/groupdocsviewer/GroupDocs_Viewer_NET
ViewerConfig config = new ViewerConfig();
//set the storage path
config.StoragePath = StoragePath;
//Uncomment the below line for cache purpose
//config.UseCache = true;