Clearing Remote Share File sessions
Hopefully someone can help me. I am working with some pretty archaic software Fox Pro 2.6 to be exact. I am trying to extend the functionality of this program using the .net Framework. Unfortunately the program that I am trying to write needs to have exclusive access to the .DBF files in Fox Pro. Users access the files via a remote server where the DBF's are stoed in a Free Table Directory. When a user access one of the tables in the program it creates a shared File session on the remote computer. In order to run the program I have to make sure that all file sessions are cleared or the program will not execute. Is there a .net Framework Class that will allow me to clear the open file sessions programmatically. I looked into writing a batch script that uses "net session" but this will not work for my situation.
Please Help!!!!!!

