C#

C#

Made by DeepSource

Audit required: Call to potentially dangerous method DangerousGetHandle CS-A1001

Security
Major

Handle returned by DangerousGetHandle can be invalidated, become stale, or be recycled when APIs such as SetHandleAsInvalid is invoked. This can lead to potential security vulnerabilities within your application. It is therefore recommended that you use this method only if you know what you're doing and absolutely require it.

Reference