public override void ToStream(Stream output) { output.Write(TLUtils.SignatureToBytes(Signature)); AppId.ToStream(output); DeviceModel.ToStream(output); SystemVersion.ToStream(output); AppVersion.ToStream(output); SystemLangCode.ToStream(output); LangPack.ToStream(output); LangCode.ToStream(output); }
public override byte[] ToBytes() { return(TLUtils.Combine( TLUtils.SignatureToBytes(Signature), AppId.ToBytes(), DeviceModel.ToBytes(), SystemVersion.ToBytes(), AppVersion.ToBytes(), SystemLangCode.ToBytes(), LangPack.ToBytes(), LangCode.ToBytes(), Data.ToBytes())); }
public override void ToStream(Stream output) { output.Write(TLUtils.SignatureToBytes(Signature)); Flags.ToStream(output); AppId.ToStream(output); DeviceModel.ToStream(output); SystemVersion.ToStream(output); AppVersion.ToStream(output); SystemLangCode.ToStream(output); LangPack.ToStream(output); LangCode.ToStream(output); ToStream(output, _proxy, _flags, (int)InitConnectionFlags.Proxy); }
public override byte[] ToBytes() { return(TLUtils.Combine( TLUtils.SignatureToBytes(Signature), Flags.ToBytes(), AppId.ToBytes(), DeviceModel.ToBytes(), SystemVersion.ToBytes(), AppVersion.ToBytes(), SystemLangCode.ToBytes(), LangPack.ToBytes(), LangCode.ToBytes(), ToBytes(_proxy, _flags, (int)InitConnectionFlags.Proxy), Data.ToBytes())); }