C# Class SharpCifs.Dcerpc.DcerpcHandle

Show file Open project: brandonprry/Potato Class Usage Examples

Protected Properties

Property Type Description
Binding DcerpcBinding
MaxRecv int
MaxXmit int
SecurityProvider IDcerpcSecurityProvider
State int

Public Methods

Method Description
Bind ( ) : void
Close ( ) : void
DcerpcHandle ( ) : System
GetHandle ( string url, NtlmPasswordAuthentication auth ) : DcerpcHandle
GetPrincipal ( ) : Principal
GetServer ( ) : string
Sendrecv ( DcerpcMessage msg ) : void
SetDcerpcSecurityProvider ( IDcerpcSecurityProvider securityProvider ) : void
ToString ( ) : string

Protected Methods

Method Description
DoReceiveFragment ( byte buf, bool isDirect ) : void
DoSendFragment ( byte buf, int off, int length, bool isDirect ) : void
ParseBinding ( string str ) : DcerpcBinding

Method Details

Bind() public method

public Bind ( ) : void
return void

Close() public abstract method

public abstract Close ( ) : void
return void

DcerpcHandle() public method

public DcerpcHandle ( ) : System
return System

DoReceiveFragment() protected abstract method

protected abstract DoReceiveFragment ( byte buf, bool isDirect ) : void
buf byte
isDirect bool
return void

DoSendFragment() protected abstract method

protected abstract DoSendFragment ( byte buf, int off, int length, bool isDirect ) : void
buf byte
off int
length int
isDirect bool
return void

GetHandle() public static method

public static GetHandle ( string url, NtlmPasswordAuthentication auth ) : DcerpcHandle
url string
auth SharpCifs.Smb.NtlmPasswordAuthentication
return DcerpcHandle

GetPrincipal() public method

public GetPrincipal ( ) : Principal
return SharpCifs.Smb.Principal

GetServer() public method

public GetServer ( ) : string
return string

ParseBinding() protected static method

protected static ParseBinding ( string str ) : DcerpcBinding
str string
return DcerpcBinding

Sendrecv() public method

public Sendrecv ( DcerpcMessage msg ) : void
msg DcerpcMessage
return void

SetDcerpcSecurityProvider() public method

public SetDcerpcSecurityProvider ( IDcerpcSecurityProvider securityProvider ) : void
securityProvider IDcerpcSecurityProvider
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

Binding protected property

protected DcerpcBinding,SharpCifs.Dcerpc Binding
return DcerpcBinding

MaxRecv protected property

protected int MaxRecv
return int

MaxXmit protected property

protected int MaxXmit
return int

SecurityProvider protected property

protected IDcerpcSecurityProvider SecurityProvider
return IDcerpcSecurityProvider

State protected property

protected int State
return int