OpenNETCF Smart Device Framework 2.3
Gets the name of this local device.

Namespace:  OpenNETCF
Assembly:  OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0

Syntax

C#
public static string MachineName { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property MachineName As String
Visual Basic (Usage)
Dim value As String

value = Environment2.MachineName
Visual C++
public:
static property String^ MachineName {
	String^ get ();
}
J#
/** @property */
public static String get_MachineName()
JScript
public static function get MachineName () : String
JavaScript
OpenNETCF.Environment2.get_MachineName = function();

See Also