C# Класс Quickstarts.UserAuthenticationClient.MainForm

The main form for a simple Quickstart Client application.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

Метод Описание
CreateSAMLToken ( string emailAddress ) : UserIdentity

Creates a SAML token for the specified email address.

MainForm ( ApplicationConfiguration configuration ) : System

Creates a form which uses the specified client configuration.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
AnonymousImpersonateBTN_Click ( object sender, EventArgs e ) : void
CertificateImpersonateBTN_Click ( object sender, EventArgs e ) : void
ChangeLogFileBTN_Click ( object sender, EventArgs e ) : void
GetKerberosToken ( ) : IUserIdentity
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

KerberosImpersonateBTN_Click ( object sender, EventArgs e ) : void
MainForm ( ) : System

Creates an empty form.

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Cleans up when the main form closes.

ReadLogFilePath ( ) : void

Reads the log file path.

Server_ConnectComplete ( object sender, EventArgs e ) : void

Updates the application after connecting to or disconnecting from the server.

Server_ConnectMI_Click ( object sender, EventArgs e ) : void

Connects to a server.

Server_DisconnectMI_Click ( object sender, EventArgs e ) : void

Disconnects from the current session.

Server_DiscoverMI_Click ( object sender, EventArgs e ) : void

Prompts the user to choose a server on another host.

Server_ReconnectComplete ( object sender, EventArgs e ) : void

Updates the application after reconnecting to the server.

Server_ReconnectStarting ( object sender, EventArgs e ) : void

Updates the application after a communicate error was detected.

Session_RenewUserIdentity ( Session session, IUserIdentity identity ) : IUserIdentity

Called when a Kerberos token needs to be renewed before reconnect.

SetAvailableUserTokens ( EndpointDescription endpointDescription ) : void

Sets the available user tokens.

UserNameImpersonateBTN_Click ( object sender, EventArgs e ) : void

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

CreateSAMLToken() публичный статический Метод

Creates a SAML token for the specified email address.
public static CreateSAMLToken ( string emailAddress ) : UserIdentity
emailAddress string
Результат Opc.Ua.UserIdentity

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

Creates a form which uses the specified client configuration.
public MainForm ( ApplicationConfiguration configuration ) : System
configuration ApplicationConfiguration The configuration to use.
Результат System