1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using System.Net;
- namespace SMBLibrary.Client
- {
- public interface ISMBClient
- {
- bool Connect(IPAddress serverAddress, SMBTransportType transport);
- void Disconnect();
- NTStatus Login(string domainName, string userName, string password);
- NTStatus Login(string domainName, string userName, string password, AuthenticationMethod authenticationMethod);
- NTStatus Logoff();
- List<string> ListShares(out NTStatus status);
- ISMBFileStore TreeConnect(string shareName, out NTStatus status);
- }
- }
|