123456789101112131415161718192021222324252627282930313233343536373839 |
- 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);
- uint MaxReadSize
- {
- get;
- }
- uint MaxWriteSize
- {
- get;
- }
- }
- }
|