I\'m writing some code to utilise a 3rd party component, and I need to supply an object which implements ICredentials when I start to use it.
If I write the following...
have you tried WindowsIdentity.GetCurrent()?
you could also look at this example... http://www.codeproject.com/KB/vb/Windows_Service.aspx