[c#] Access to the path denied error in C#

Did you try specifing some file name?

eg:

string route="D:\\somefilename.txt";