MalwareSourceCode/MSIL/HackTool/Win32/K/HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe/TaskSchedulerInterop/CoTaskMem.cs

22 lines
686 B
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: TaskSchedulerInterop.CoTaskMem
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
using System;
using System.Runtime.InteropServices;
namespace TaskSchedulerInterop
{
internal class CoTaskMem
{
public static string LPWStrToString(IntPtr lpwstr)
{
string stringUni = Marshal.PtrToStringUni(lpwstr);
Marshal.FreeCoTaskMem(lpwstr);
return stringUni;
}
}
}