Is there some method or combination thereof in the .NET API that I can pass a full path i.e. "C:\Directory\File.Ext" to, and check if I can create a file at that location. It would presumably return true or false.
For example,
C:\Directory\file.ext : true, unless no permission to write there.
C:\Directory\??&#.kc2 : false
asdf : false
X:\Directory\file.ext : false, if no X: drive exists
\\local-pc\directory\file.ext : true