1
Reply

How to get the Local drive (Disc) name where Operating System is installed in c#?

Ritesh Singh

Ritesh Singh

8y
345
0
Reply

    // Get the drive name where Operating System is installedMessageBox.Show(Path.GetPathRoot(Environment.SystemDirectory));