What are the differences between currently executing .NET thread and Win32 thread

Posted by Ybbest on Stack Overflow See other posts from Stack Overflow or by Ybbest
Published on 2010-03-24T23:17:01Z Indexed on 2010/03/25 0:03 UTC
Read the original article Hit count: 368

Filed under:
|
|

I am reading the Asp.net security documentation on msdn.I come across these tow terms and get really confused.

# WindowsIdentity = WindowsIdentity.GetCurrent()

which returns the identity of the security context of the currently executing Win32 thread.

# Thread = Thread.CurrentPrincipal 

which returns the principal of the currently executing .NET thread which rides on top of the Win32 thread.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about threading