Thursday, 7 January 2010

Map network drive in code

I needed to programmatically map a share drive to access files for a web application. This works on the app pool identity and doesn’t have mapped drives by default so after a little Googling, I found this :

It maybe a few years old, but works like a dream!

No comments: