How to check the drive is exists in the system from the given string in WPF. I have tried the following
Ex: FileLocation.Text = \"K:\\TestDriv
FileLocation.Text = \"K:\\TestDriv
You can check drives in C# like this
foreach (var drive in DriveInfo.GetDrives()) { //Code goes here }