Namespace: ITHit.MapWebDAVDrive.Core
The ActiveDrive type exposes the following members.
Name | Description | |
---|---|---|
VolumeLabel | Drive volume label. (Inherited from DriveSettings.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FileWasChanged |
Notify OS and cache that file was changed
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSession | Gets WebDAV session used for accessing remote WebDAV server. (Inherited from DriveSettings.) | |
GetSessionForDialogs | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Mount | Mounts drive to local file system. | |
OnVolumeLabelChanged | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unmount | Unmounts drive from local file system. |
Name | Description | |
---|---|---|
AllowWindowsExplorerCustomization | Allows Windows Explorer customization. (Inherited from DriveSettings.) | |
AutoCheckOutOnUpdate | Specifies if item will be checked-out before any update if server supports versioning. (Inherited from DriveSettings.) | |
BufferUpload | Specifies if content is buffered in memory before sending to server. (Inherited from DriveSettings.) | |
ClientCacheTimeOut | Sets or gets client cache timeout in seconds. (Inherited from DriveSettings.) | |
DownloadOnlyNewer | Specifies if only modified files will be downloaded. (Inherited from DriveSettings.) | |
DriveLetter | Drive letter of the mounted drive. (Inherited from DriveSettings.) | |
Events | External applications executed during various events. (Inherited from DriveSettings.) | |
FilterAutoLock |
Regular expression that specifies which files should be automatically locked when file is opened (read from server). Used only if LockBehavior is set to [!:LockBehavior.LockWhenOpen].
(Inherited from DriveSettings.) | |
FilterDownload |
Regular expression that specifies which files should be never downloaded from server.
(Inherited from DriveSettings.) | |
FilterUpload |
Regular expression that specifies which files should be never uploaded to server.
(Inherited from DriveSettings.) | |
fVolumeLabel | (Inherited from DriveSettings.) | |
Impersonate | Specifies if to use current user credentials when accessing WebDAV server. (Inherited from DriveSettings.) | |
LockBehavior | Specifies if item will be locked before any update or when it is opened. (Inherited from DriveSettings.) | |
LockTimeOut |
The item will be automatically unlocked by server when the specified amount of time is elapsed.
(Inherited from DriveSettings.) | |
Login | User name used when connecting to WebDAV server. (Inherited from DriveSettings.) | |
Password | Password used when connecting to WebDAV server. (Inherited from DriveSettings.) | |
Persistent | The drive is mounted each time the computer boots. (Inherited from DriveSettings.) | |
Proxy | Contains HTTP proxy settings. (Inherited from DriveSettings.) | |
ResumeBrokenDownloads | Specifies if canceled and broken downloads will be restored. (Inherited from DriveSettings.) | |
ServerRequestTimeOut | Server requests timeout in seconds. (Inherited from DriveSettings.) | |
ServerUrl | WebDAV Server URL. (Inherited from DriveSettings.) | |
ShowContextMenuForVersioning |
Specifies if context menus for versioning should be displayed in Windows Explorer context menus. Default is false.
(Inherited from DriveSettings.) | |
ShowProgress | Show upload and download progress in a tray application. (Inherited from DriveSettings.) |
using ITHit.MapWebDAVDrive.Core; ... Management.InstallDriver("MyDriveMappingAppID"); System.Diagnostics.Process.Start("ShutDown", "/r /t 0"); ... string license = @"<?xml version='1.0' ... Management.SetLicense(license); ... ActiveDrive drive = new ActiveDrive('z', new Uri("http://dav.webdavsystem.com"), "User1", "pwd"); drive.Mount();