Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using wid As System.Security.Principal.WindowsIdentity = System.Security.Principal.WindowsIdentity.GetCurrent()
- Using ImpersonationCtx As System.Security.Principal.WindowsImpersonationContext = wid.Impersonate()
- Dim oRet As AppPaths = GetMyPathsCommonCore(udt, bCreateCommonAppDataPath)
- ImpersonationCtx.Undo()
- Return oRet
- End Using
- End Using
- C:Users{User}AppDataLocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement