Add nsi service handler

This commit is contained in:
2025-08-14 10:41:14 +09:00
parent b8710fd00a
commit de36ea2a13
31 changed files with 9576 additions and 1 deletions

View File

@ -0,0 +1,18 @@
using Hcs.ClientApi;
using System;
namespace Hcs.ClientDemo
{
public class NsiDemo
{
public static void DemoExportNsiItem(HcsClient client)
{
var result = client.Nsi.GetNsiItem(51).Result;
Console.WriteLine($"Результат операции:\r\n");
foreach (var obj in result)
{
Console.WriteLine(obj?.ToString());
}
}
}
}

View File

@ -59,13 +59,15 @@ namespace Hcs.ClientDemo
if (false) HouseManagementDemo.DemoExportOneContract(client);
if (false) HouseManagementDemo.DemoExportContractTrees(client);
if (false) HouseManagementDemo.DemoImportNewContract(client);
if (true) HouseManagementDemo.DemoExportOrgRegistry(client);
if (false) HouseManagementDemo.DemoExportOrgRegistry(client);
if (false) FileStoreDemo.DemoDownloadFile(client);
if (false) FileStoreDemo.DemoGostHash(client);
if (false) FileStoreDemo.DemoUploadFile(client);
if (false) FileStoreDemo.DemoGetFileLength(client);
if (false) FileStoreDemo.DemoGostHash(client);
if (true) NsiDemo.DemoExportNsiItem(client);
}
catch (Exception ex)
{