Raritan Computer CC-WSAPI-0B-v5.1.0-E Instrukcja Użytkownika Strona 45

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 54
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 44
Appendix C: Web Services Development in C#
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography.X509Certificates;
using System.Net;
using System.Net.Security;
using System.ServiceModel;
namespace CCWSClient_WCF
{
class Program
{
static string cc_address = "10.0.0.101";
static string user = "gregor";
static string password = "pass123";
static string session_id;
static void
quit(CCAuthentication.AuthenticationAndAuthorizationS
erviceClient auth_service)
{
if (auth_service != null)
{
try
{
CCAuthentication.signOff sign_off
= new CCAuthentication.signOff();
sign_off.String_1 = user;
sign_off.String_2 = session_id;
CCAuthentication.signOffResponse
response = auth_service.signOff(sign_off);
Przeglądanie stron 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 53 54

Komentarze do niniejszej Instrukcji

Brak uwag