Prompts the user to supply an TCP/IP Address or Hostname.
For a list of all members of this type, see TcpipAddressDialog Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
Brecham.Obex.Net.Forms.TcpipAddressDialog
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
[C#]
String addr = "192.168.1.101";
Brecham.Obex.Net.Forms.TcpipAddressDialog form
= new Brecham.Obex.Net.Forms.TcpipAddressDialog();
form.AddressOrHostname = addr;
System.Windows.Forms.DialogResult rslt = form.ShowDialog();
if (rslt == System.Windows.Forms.DialogResult.OK) {
addr = form.AddressOrHostname;
return addr;
} else {
return null;
}
Namespace: Brecham.Obex.Net.Forms
Assembly: TransportConnection (in TransportConnection.dll)
TcpipAddressDialog Members | Brecham.Obex.Net.Forms Namespace