Method | Description | |
---|---|---|
Connect ( string server, string domain, string userName, string userDN, string password, string userSpn, |
It establishes a new Session Context with the server by calling native methods.
|
|
Disconnect ( |
It calls the native method EcDoDisconnect that closes a Session Context with the server. The Session Context is destroyed and all associated server state, objects, and resources that are associated with the Session Context are released.
|
|
RpcAdapter ( ITestSite site ) : System |
Initializes a new instance of the RpcAdapter class
|
|
RpcExt2 ( |
Sends remote operation (ROP) commands to the server with a Session Context Handle.
|
Method | Description | |
---|---|---|
Connect_Internal ( |
The Connect method establishes a new Session Context with the server.
|
|
GetErrorCodeMeaning ( string errorCodeHexString ) : string |
Get meaning of the error code based on description in [MS-OXCRPC] section 3.1.4.11.
|
|
RpcExceptionCode ( |
Get the RPC Exception Code
|
|
RpcExt2 ( |
It calls native method EcDoRpcExt2 that sends remote operation (ROP) commands to the server with a Session Context Handle.
|
public Connect ( string server, string domain, string userName, string userDN, string password, string userSpn, |
||
server | string | The server name. |
domain | string | The domain the server is deployed |
userName | string | The domain account name. |
userDN | string | User's distinguished name (DN). |
password | string | >user Password. |
userSpn | string | User's SPN. |
mapiContext | The default parameters for rpc call, such as authentication level, authentication method, whether to compress request. | |
options | string | proxy attribute |
return |
public Disconnect ( |
||
cxh | On input, contains the CXH of the Session Context that the client wants to disconnect. /// On output, the server MUST clear the CXH to a zero value. | |
return | uint |
public RpcAdapter ( ITestSite site ) : System | ||
site | ITestSite | An instance of ITestSite |
return | System |
public RpcExt2 ( |
||
pcxh | On input, the client MUST pass a valid Session Context Handle that was created by calling EcDoConnectEx. /// The server uses the Session Context Handle to identify the Session Context to use for this call. On output, the server MUST return the same Session Context Handle on success. | |
rgbIn | byte | This buffer contains the ROP request payload. |
rgbOut | byte | On success, this buffer contains the ROP response payload. |
pcbOut | uint | On input, this parameter contains the maximum size of the rgbOut buffer.On output, this parameter contains the size of the ROP response payload. |
return | uint |