How can a drive (e.g. y) be mapped in C# to a network shared location? The mapped drive needs to be known by a SQL session. This is for backing up SQL databases from a C# application to the mapped drive (e.g. y). Would like to do it programmatically to allow easily changing the mapped drive network location, user and password.How can a drive (e.g. y) be mapped in C# to a n