private static void PrintAgentStartupJson() { GoogleAgentStartupJson agentStartupJson = new GoogleAgentStartupJson { Ready = true, OSVersion = Environment.OSVersion.ToString() }; string serializedAgentStartup = MetadataSerializer .SerializeMetadata<GoogleAgentStartupJson>(agentStartupJson); Logger.LogWithCom(EventLogEntryType.Information, "COM4", "{0}", serializedAgentStartup); }
private static void PrintAgentStartupJson() { GoogleAgentStartupJson agentStartupJson = new GoogleAgentStartupJson { Ready = true, OSVersion = Environment.OSVersion.ToString() }; string serializedAgentStartup = MetadataSerializer .SerializeMetadata <GoogleAgentStartupJson>(agentStartupJson); Logger.LogWithCom(EventLogEntryType.Information, "COM4", "{0}", serializedAgentStartup); }