-
Notifications
You must be signed in to change notification settings - Fork 0
991. Pinvoke
Destroyer edited this page Jan 15, 2022
·
1 revision
Get all the Pinvokes of an executable/assembly.
- 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;
Remember that the documentation and examples may be subject to change, depending on the API updates.