How can I specify the User/Password to connect to a UNC path?

I am copying files from several machines and am accessing an admin share on each machine. I need to be able to programmatically specify the admin User & Pwd to connect with.

Thanks!