Name
OperatingSystem
Synopsis
This class represents the current operating system by combining
an instance of the PlatformID
and Version
classes. It is returned by the Environment.OSVersion
property.
Public NotInheritable Class OperatingSystem : Implements ICloneable ' Public Constructors Public Sub New(ByVal platform As PlatformID, ByVal version As Version) ' Public Instance Properties Public ReadOnly Property Platform As PlatformID Public ReadOnly Property Version As Version ' Public Instance Methods Public Function Clone( ) As Object Implements ICloneable.Clone Overrides Public Function ToString() As String End Class
Returned By
Environment.OSVersion
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.