OSFullName Property


OSFullName Property

Location

My.Computer.Info.OSFullName

Syntax

     Dim result As String = My.Computer.Info.OSFullName 

Description

The OSFullName property returns the full name of the operating system.

Usage at a Glance

  • This property is read-only.

  • An exception is thrown if the user does not have sufficient security privileges to access system information.

  • If Windows Management Instrumentation (WMI) is not installed on the local computer, this property returns the same data as the My.Computer.Info.OSPlatform property.

Example

The text returned by this property varies by operating system. For instance, the text returned for Windows XP Professional is, as expected, "Microsoft Windows XP Professional."

Related Framework Entries

  • Microsoft.VisualBasic.Devices.ComputerInfo.OSFullName Property

See Also

Info Object (My.Computer), OSPlatform Property, OSVersion Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net