Raritan Computer CC-WSAPI-0B-v5.1.0-E Manual do Utilizador Página 48

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 54
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 47
Appendix C: Web Services Development in C#
44
// renameNode service
CCNode.NodeManagementServiceClient
node_service = new
CCNode.NodeManagementServiceClient();
node_service.ClientCredentials.ClientCertificate.SetC
ertificate(
StoreLocation.CurrentUser,
StoreName.My,
X509FindType.FindBySubjectName,
"10.0.0.150");
CCNode.renameNode rename = new
CCNode.renameNode();
rename.String_1 = session_id;
Console.Write("Name of node to change:
");
rename.String_2 = Console.ReadLine();
Console.Write("New node name: ");
rename.String_3 = Console.ReadLine();
try
{
CCNode.renameNodeResponse response =
node_service.renameNode(rename);
Console.WriteLine("renameNode
response: " + response.result);
}
catch (Exception exception)
{
Console.WriteLine(exception.ToString());
quit(auth_service);
}
quit(auth_service);
Vista de página 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 54

Comentários a estes Manuais

Sem comentários