UnauthorizedAccessException was unhandled

Today when I coded a snippet to download file from a team foundation server, I met this error: UnauthorizedAccessException was unhandled. Access to the path is denied. The relative code is: priv... [More]