/// <summary>
/// Requests the client config record from the server.
/// </summary>
/// <returns>A binary blob that represents the config record on success; otherwise <c>null</c>.</returns>
public byte[] GetClientConfigRecord()
{
if (!this.HandshakeServer(ESteam2ServerType.ConfigServer))
{
this.Disconnect();
return(null);
}
uint externalIp = Socket.Reader.ReadUInt32();
if (!this.SendCommand(1)) // command: Get CCR
{
return(null);
}
TcpPacket pack = Socket.ReceivePacket();
this.Disconnect();
if (pack == null)
{
return(null);
}
return(pack.GetPayload());
}