[성현모] CPMeta 기능 수정

This commit is contained in:
SHM
2026-02-12 10:59:13 +09:00
parent 4bfcf64720
commit 3626030124
3 changed files with 61 additions and 27 deletions

View File

@ -10,7 +10,7 @@ namespace PlayGround.NetFramework
static void Main(string[] args)
{
//global set
string host = "192.168.0.43";
string host = "192.168.0.42";
//random value
string ProductId = "00010032-87a4-45ca-b627-b975d41e35df";
@ -20,9 +20,16 @@ namespace PlayGround.NetFramework
//Get
Task.Run(async () =>
{
var res2 = await CPMeta.CPMeta.GetWbmsMetaByProductId(host, ProductId);
// var res3 = await CPMeta.CPMeta.GetWbmsMetaByMacAddress(host, Mac1);
// var res4 = await CPMeta.CPMeta.GetWbmsMetaByMacAddress(host, Mac2);
var res2 = await CPMeta.CPMeta.HealthCheck(host);
// var res2 = await CPMeta.CPMeta.GetWbmsMetaByProductId(host, ProductId);
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.WriteLine($"Response: {res2} (Trace Guid:)");
Console.ForegroundColor = ConsoleColor.White;
// var res3 = await CPMeta.CPMeta.GetWbmsMetaByMacAddress(host, Mac1);
// var res4 = await CPMeta.CPMeta.GetWbmsMetaByMacAddress(host, Mac2);
}).Wait();