C# Class SteamKit2.ConfigServerClient

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

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of the ConfigServerClient class.
public ConfigServerClient ( ) : System
Résultat System

GetClientConfigRecord() public méthode

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

GetContentDescriptionRecord() public méthode

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.
Résultat byte[]

GetNetworkKey() public méthode

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