C# Class SteamKit2.ConfigServerClient

This client is capable of connecting to a config server.
Inheritance: ServerClient
Mostrar archivo Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
ConfigServerClient ( ) : System

Initializes a new instance of the ConfigServerClient class.

GetClientConfigRecord ( ) : byte[]

Requests the client config record from the server.

GetContentDescriptionRecord ( byte oldCDRHash = null ) : byte[]

Gets the current content description record (CDR) provided by the config server. Optionally accepts an old CDR hash in order to determine if a new CDR should be downloaded or not. The old CDR hash is a SHA-1 hash of the entire CDR payload.

GetNetworkKey ( ) : byte[]

Requests the network key from the config server.

Method Details

ConfigServerClient() public method

Initializes a new instance of the ConfigServerClient class.
public ConfigServerClient ( ) : System
return System

GetClientConfigRecord() public method

Requests the client config record from the server.
public GetClientConfigRecord ( ) : byte[]
return byte[]

GetContentDescriptionRecord() public method

Gets the current content description record (CDR) provided by the config server. Optionally accepts an old CDR hash in order to determine if a new CDR should be downloaded or not. The old CDR hash is a SHA-1 hash of the entire CDR payload.
public GetContentDescriptionRecord ( byte oldCDRHash = null ) : byte[]
oldCDRHash byte An optional CDR hash.
return byte[]

GetNetworkKey() public method

Requests the network key from the config server.
public GetNetworkKey ( ) : byte[]
return byte[]