Environment.Version : Environment « System « VB.Net by API






Environment.Version

  

Namespace MyApp.Info
    Module Main
        Sub Main()
            Dim objHW As New MyApp.Info.Utilities
            objHW.DisplayData()
        End Sub
    End Module

    Public Class Utilities
        'Run the application
        Public Sub DisplayData()
            Console.WriteLine(Environment.MachineName)
            Console.WriteLine(Environment.SystemDirectory)
            Console.WriteLine(Environment.GetLogicalDrives())
            Console.WriteLine(Environment.Version.ToString())
        End Sub
    End Class
End Namespace

   
    
  








Related examples in the same category

1.Environment.CommandLine
2.Environment.CurrentDirectory
3.Environment.Exit
4.Environment.ExitCode
5.Environment.GetCommandLineArgs
6.Environment.GetLogicalDrives
7.Environment.HasShutdownStarted
8.Environment.MachineName
9.Environment.NewLine
10.Environment.OSVersion
11.Environment.ProcessorCount
12.Environment.SpecialFolder.CommonProgramFiles
13.Environment.SpecialFolder.Favorites
14.Environment.StackTrace
15.Environment.SystemDirectory
16.Environment.TickCount
17.Environment.UserDomainName
18.Environment.UserInteractive
19.Environment.UserName
20.Environment.WorkingSet