Windows Services

  • Thread starter Thread starter Manny
  • Start date Start date
M

Manny

Hello guys,

Can any one point me to windows service source code for accessing
network resource (vb.net or c#)

Thanks in advance.

Regards,
Manny
 
Hi,

What is what you want to access?

In general you do so as usual, except that you do not have any mapped
network drives so you have to use UNC to access them.
Also make sure the user under which it runs have access to the resources you
want.

cheers,
 
Hi Ignacio Machin,

Thank you for your quick reply,

I apologize for delay in replying back. I was trying to access a share
on a network. I used WNetAddConnection2 to login to the remote system
and then accessing the resources.

I used following resource:
http://support.microsoft.com/kb/q173011/

I wonder how can i achieve the same with credential to avoide unmanged
code.




Regards,
MannY
 
Back
Top