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






Environment.SystemDirectory

  

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.TickCount
16.Environment.UserDomainName
17.Environment.UserInteractive
18.Environment.UserName
19.Environment.Version
20.Environment.WorkingSet