Ejemplo n.º 1
0
 public ConnectInfo(NameVersion briskVersion, NameVersion sdkVersion,
                    NameVersion schemaVersion, NameVersion applicationVersion, CustomConnectPayload payload)
 {
     BriskVersion       = briskVersion;
     SdkVersion         = sdkVersion;
     SchemaVersion      = schemaVersion;
     ApplicationVersion = applicationVersion;
     Payload            = payload;
 }
Ejemplo n.º 2
0
 public static void Serialize(IOutOctetStream stream, NameVersion nameVersion)
 {
     StringSerializer.Serialize(stream, nameVersion.Name);
     VersionSerializer.Serialize(stream, nameVersion.Version);
 }