Hello, I want to block a USB based on volume using C#. Like I want to block USB stick if capacity is greater than 8GB.
Look there is a method to block USB on PC using registry. but this will make USB undetectable so I can not get volume information.
I want to do that If my client program is running on some machine and I put restriction that USB capacity >=8GB should be restricted, so my C# code should safely remove the USB and should now show any balloon, I mean silently remove it.