OSFullName Property

ComputerInfo.OSFullName Property

 

Gets the full operating system name.

Namespace:   Microsoft.VisualBasic.Devices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public string OSFullName { get; }

Property Value

Type: System.String

A String containing the operating-system name.

Exception Condition
SecurityException

The calling code does not have full trust.

This property returns detailed information about the operating system name if Windows Management Instrumentation (WMI) is installed on the computer. Otherwise, this property returns the same string as the My.Computer.Info.OSPlatform property, which provides less detailed information than WMI can provide.

This example uses the My.Computer.Info.OSFullName property to display the name of the computer's operating system.

MsgBox("Computer's operating system name: " & 
    My.Computer.Info.OSFullName)

FileIOPermission

Controls the ability to access files and folders. Associated enumeration: Unrestricted.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft