C# Класс SteamKit2.ConfigServerClient

This client is capable of connecting to a config server.
Наследование: ServerClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ConfigServerClient() публичный Метод

Initializes a new instance of the ConfigServerClient class.
public ConfigServerClient ( ) : System
Результат System

GetClientConfigRecord() публичный Метод

Requests the client config record from the server.
public GetClientConfigRecord ( ) : byte[]
Результат byte[]

GetContentDescriptionRecord() публичный Метод

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.
Результат byte[]

GetNetworkKey() публичный Метод

Requests the network key from the config server.
public GetNetworkKey ( ) : byte[]
Результат byte[]