VeryUnsafe 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package VeryUnsafe --version 1.0.0
NuGet\Install-Package VeryUnsafe -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VeryUnsafe" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VeryUnsafe --version 1.0.0
#r "nuget: VeryUnsafe, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VeryUnsafe as a Cake Addin
#addin nuget:?package=VeryUnsafe&version=1.0.0

// Install VeryUnsafe as a Cake Tool
#tool nuget:?package=VeryUnsafe&version=1.0.0

VeryUnsafe

This librarty contains a collection of various dangerous operations. Using unsafe may be less than necessary in some cases, mind your steps.

Disclaimer

Carefully read the doucmentation's remarks, for the operations are really unsafe in nature.

Features

  • GetObjectHandleAddress, to get the address of the type handle of an object
  • ChangeType, to change the type handle of an object at runtime, without requiring reallocation

Usages

  • Pro-/demote objects at runtime
  • Mimic another type (may or may not be heavily inspired by Seb-stian/GetVoid)
  • Corrupt the managed heap in one more way

Stay safe!

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on VeryUnsafe:

Package Downloads
AdventOfCSharp

An aspiring AoC problem solving framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 316 1/6/2023
1.1.0 431 5/7/2022
1.0.4 415 4/1/2022
1.0.3 1,544 3/16/2022
1.0.2 409 3/16/2022
1.0.1 325 9/5/2021
1.0.0 274 9/5/2021