C# Класс Examples.ClientUsingCredentials

This demonstrates a client's use of credentials, specifically the ability to change the principal for an active session. This is not a realistic use case on its own, but it shown separately here for clarity.
Показать файл Открыть проект

Открытые методы

Метод Описание
ChangePrincipal ( string principal, string password, IChangePrincipalCallback callback ) : void

Request a change of principal for the session.

ClientUsingCredentials ( ) : PushTechnology.ClientInterface.Client.Factories
Close ( ) : void

Close the session.

Описание методов

ChangePrincipal() публичный Метод

Request a change of principal for the session.
public ChangePrincipal ( string principal, string password, IChangePrincipalCallback callback ) : void
principal string The new principal name.
password string The password.
callback IChangePrincipalCallback Notifies success or failure.
Результат void

ClientUsingCredentials() публичный Метод

public ClientUsingCredentials ( ) : PushTechnology.ClientInterface.Client.Factories
Результат PushTechnology.ClientInterface.Client.Factories

Close() публичный Метод

Close the session.
public Close ( ) : void
Результат void