예제 #1
0
        public void KnownFolderManager_GetKnownFolder()
        {
            IKnownFolderManager manager = ShellDesktopMethods.GetKnownFolderManager();
            IKnownFolder        folder  = manager.GetFolder(KNOWNFOLDERID.Windows);

            folder.Should().NotBeNull();
        }
예제 #2
0
        public void KnownFolderManager_GetKnownFolder()
        {
            IKnownFolderManager manager = ShellMethods.GetKnownFolderManager();
            IKnownFolder        folder  = manager.GetFolder(KnownFolderIds.Windows);

            folder.Should().NotBeNull();
        }