SafeHandle::DangerousGetHandle Method
Silverlight
This type can be used only by trusted applications. If you try to use its members in a partial-trust application, your code will throw a MethodAccessException exception. This type is security-critical, which restricts its use.
Namespace:
System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
An IntPtr representing the value of the handle field. If the handle has been marked invalid with SetHandleAsInvalid, this method still returns the original handle value, which can be a stale value.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System::IntPtrAn IntPtr representing the value of the handle field. If the handle has been marked invalid with SetHandleAsInvalid, this method still returns the original handle value, which can be a stale value.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: