 ActiveDrive Constructor (Char, Uri, Boolean, String, String, String, UploadBuffering, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Int32, Int32, ProxySettings, DriveEvents) |
IT Hit WebDAV for .NET |
|  |
Initializes a new instance of ActiveDrive class.
[Visual Basic]
Overloads Public Sub New( _
ByVal
driveLetter As
Char, _
ByVal
serverUrl As
Uri, _
ByVal
impersonate As
Boolean, _
ByVal
userLogin As
String, _
ByVal
password As
String, _
ByVal
volumeLabel As
String, _
ByVal
bufferUpload As
UploadBuffering, _
ByVal
showProgress As
Boolean, _
ByVal
downloadOnlyNewer As
Boolean, _
ByVal
resumeBrokenDownloads As
Boolean, _
ByVal
autoLockOnUpdate As
Boolean, _
ByVal
autoCheckOutOnUpdate As
Boolean, _
ByVal
allowWindowsExplorerCustomization As
Boolean, _
ByVal
serverRequestTimeOut As
Integer, _
ByVal
clientCacheTimeout As
Integer, _
ByVal
proxySettings As
ProxySettings, _
ByVal
driveEvents As
DriveEvents _
)
[C#]
public ActiveDrive(
char driveLetter,
Uri serverUrl,
bool impersonate,
string userLogin,
string password,
string volumeLabel,
UploadBuffering bufferUpload,
bool showProgress,
bool downloadOnlyNewer,
bool resumeBrokenDownloads,
bool autoLockOnUpdate,
bool autoCheckOutOnUpdate,
bool allowWindowsExplorerCustomization,
int serverRequestTimeOut,
int clientCacheTimeout,
ProxySettings proxySettings,
DriveEvents driveEvents);
Parameters
-
driveLetter
- Drive letter.
-
serverUrl
- WebDAV Server URL.
-
impersonate
- Access WebDAV server on behalf of the user accessing the drive if this parameter is true. User name and password are ignored in this case.
-
userLogin
- User name used when connecting to WebDAV server. In case of domain authentication specify user name in the DOMAIN\Login format
-
password
- Password used when connecting to WebDAV server.
-
volumeLabel
- Drive volume label. Max 33 characters.
-
bufferUpload
- Specifies if content is buffered in memory before sending to server.
-
showProgress
- Show upload and download progress in a tray application.
-
downloadOnlyNewer
- Specifies if only modified files will be downloaded.
-
resumeBrokenDownloads
- Specifies if canceled and broken downloads will be restored.
-
autoLockOnUpdate
- Specifies if item will be locked before any update if server supports locks.
-
autoCheckOutOnUpdate
- Specifies if item will be checked-out before any update if server supports versioning.
-
allowWindowsExplorerCustomization
- Allows Windows Explorer customization.
-
serverRequestTimeOut
- Server requests timeout in seconds.
-
clientCacheTimeout
- Sets or gets client cache timeout in seconds.
-
proxySettings
- Settings for proxy server.
-
driveEvents
- External applications executed during various events.
See Also
ActiveDrive Class | ITHit.MapWebDAVDrive.Core Namespace | ActiveDrive Constructor Overload List