Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.


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: " & 

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

© 2015 Microsoft