Skip to content

991. Pinvoke

Destroyer edited this page Jan 15, 2022 · 1 revision

Namespace: Engine.Pinvoke

Get all the Pinvokes of an executable/assembly.

Scanner

  • VB
   Dim PinvokeScan As New Engine.Pinvoke.Scanner
  Dim GetFileInvokes As List(Of String) = PinvokeScan.ScanPinvokes("File.exe")
            If GetFileInvokes IsNot Nothing Then
                For Each PinvokeStr As String In GetFileInvokes
                    TextBox2.Text += PinvokeStr & vbNewLine
                Next
            End If
  • C#
   Engine.Pinvoke.Scanner PinvokeScan = new Engine.Pinvoke.Scanner();
   List<string> GetFileInvokes = PinvokeScan.ScanPinvokes("File.exe");

    foreach (string PinvokeStr in GetFileInvokes)
        TextBox2.Text += PinvokeStr + Constants.vbNewLine;

Clone this wiki locally