I have a wpf application that needs to write a file (from Byte[]) to a share on a server. I have a service account with permission to that share. Is there a way to do something like:
File.WriteAllBytes(path,bytes,username,password)?
Obviously that doesn't exist but my research has not turned up any answer.