Hi!
I'm trying to copy files from my werbservice server to another thru my webservice.
I found this example
c# - Copy file to remote computer using remote admin credentials - Stack Overflow
and I was translating this to PB .Net, when I found that:
System.IntPtr lintptr_duptoken
Security.Principal.WindowsIdentity luo_winIdGral
.
.
.
luo_winIdGral = createSystem.Security.Principal.WindowsIdentity(lintptr_duptoken)
can't compile, I'm getting an error that says THERE'S NO SUITABLE CONSTRUCTOR FOR CREATE STATEMENT: WINDOWSIDENTITY
And I believe that's because there's no CREATE function on that class, as for example on XMLReader.
Why is this? and how can I workaround it?