how to programmatically prevent file access via Ethernet in c# (if internet cable is connected )?
( Not a manual way ) I want to check the file sharing status .
Who wants to help for such a beginner :)
many thanks
Printable View
how to programmatically prevent file access via Ethernet in c# (if internet cable is connected )?
( Not a manual way ) I want to check the file sharing status .
Who wants to help for such a beginner :)
many thanks
So, I assume that you are talking about file access on a network share? Have you looked at the File and Directory classes yet?