This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using System.Net.Http; | |
using System.Runtime.Serialization.Json; | |
using System.Xml; | |
using System; | |
using System.Xml.Linq; | |
using Windows.Data.Json; | |
using System.Web.Script.Serialization; | |
using System.IO; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Diagnostics; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using static Constants; | |
using static Native; | |
static class Constants | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
static class Developer | |
{ | |
internal static long Benchmark(string value, Action action) | |
{ | |
Stopwatch stopwatch = new(); | |
stopwatch.Start(); action(); stopwatch.Stop(); | |
// Console.WriteLine($"{value}, {stopwatch.ElapsedTicks}"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
using System.Security; | |
using System.Security.Principal; | |
using Windows.Security.Cryptography.Certificates; | |
[StructLayout(LayoutKind.Sequential)] | |
unsafe readonly ref struct WTS_PROCESS_INFO | |
{ | |
internal readonly int SessionId, ProcessId; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define INITGUID | |
#define COBJMACROS | |
#define WIDL_C_INLINE_WRAPPERS | |
#include <windows.h> | |
#include <MinHook.h> | |
#include <d3d11.h> | |
#include <winrt/base.h> | |
#include <winrt/Windows.UI.Core.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using namespace System | |
using namespace Windows.Foundation | |
using namespace Windows.Globalization | |
using namespace System.Threading.Tasks | |
using namespace System.Web.Script.Serialization | |
using namespace Windows.ApplicationModel.Store.LicenseManagement | |
$Preference = $ProgressPreference | |
$ProgressPreference = 'SilentlyContinue' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define INITGUID | |
#define COBJMACROS | |
#define _MINAPPMODEL_H_ | |
#define WIDL_C_INLINE_WRAPPERS | |
#include <aclapi.h> | |
#include <shlwapi.h> | |
#include <userenv.h> | |
#include <appmodel.h> | |
#include <shobjidl.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
static class Bubble | |
{ | |
internal static void Sort(int[] value) | |
{ | |
int[] collection = new int[value.Length]; | |
value.CopyTo(collection, default); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _MINAPPMODEL_H_ | |
#include <windows.h> | |
#include <appmodel.h> | |
#include <threadpoollegacyapiset.h> | |
#include <shlobj.h> | |
#include <shlwapi.h> | |
#include <userenv.h> | |
#include <sddl.h> | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <filesystem> | |
#include <initguid.h> | |
#include <windows.h> | |
#include <shobjidl.h> | |
#include <winrt/Windows.ApplicationModel.h> | |
#include <winrt/Windows.System.h> | |
#include <winrt/Windows.Foundation.Collections.h> | |
#include <winrt/Windows.Management.Core.h> | |
#include <winrt/Windows.Storage.h> |
NewerOlder