Table of Contents

Class WindowsNetworkFileShare

Namespace
Steeltoe.Common.Net
Assembly
Steeltoe.Common.Net.dll

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

networkName string

The IP address or hostname of the remote file share.

credentials NetworkCredential

The username and password for accessing the file share.

Methods

Dispose()

Disconnects the file share.

public void Dispose()