Class WindowsNetworkFileShare
For interacting with SMB network file shares on Windows.
public sealed class WindowsNetworkFileShare : IDisposable
- Inheritance
-
WindowsNetworkFileShare
- Implements
- Inherited Members
Constructors
WindowsNetworkFileShare(string, NetworkCredential)
Initializes a new instance of the WindowsNetworkFileShare class.
public WindowsNetworkFileShare(string networkName, NetworkCredential credentials)
Parameters
networkNamestringThe IP address or hostname of the remote file share.
credentialsNetworkCredentialThe username and password for accessing the file share.
Methods
Dispose()
Disconnects the file share.
public void Dispose()