C# Class Opc.Ua.Client.Controls.DiscoverServerDlg

Prompts the user to specify a host name and discovers the servers.
Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
DiscoverServerDlg ( ) : System

Creates an empty form.

ShowDialog ( ApplicationConfiguration configuration ) : string

Shows the dialog.

ShowDialog ( ApplicationConfiguration configuration, string hostName ) : string

Shows the dialog.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
FindBTN_Click ( object sender, EventArgs e ) : void
GetEndpoints ( string hostName ) : string[]

Gets the endpoints for the host.

InitializeComponent ( ) : void

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

OkBTN_Click ( object sender, EventArgs e ) : void
ServersLB_SelectedIndexChanged ( object sender, EventArgs e ) : void
ValueTB_TextChanged ( object sender, EventArgs e ) : void

Method Details

DiscoverServerDlg() public method

Creates an empty form.
public DiscoverServerDlg ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ShowDialog() public method

Shows the dialog.
public ShowDialog ( ApplicationConfiguration configuration ) : string
configuration ApplicationConfiguration The client applicatio configuration.
return string

ShowDialog() public method

Shows the dialog.
public ShowDialog ( ApplicationConfiguration configuration, string hostName ) : string
configuration ApplicationConfiguration The client applicatio configuration.
hostName string The default host name.
return string