How to get the current process in VB.NET

1 Answer

0 votes
Module Module1

    Sub Main()

        Dim process As Process = Process.GetCurrentProcess()

        Console.WriteLine(process)

    End Sub

End Module

' run:
' 
' System.Diagnostics.Process (ConsoleApplication_Visual_Basic)

 



answered Aug 11, 2018 by avibootz

Related questions

1 answer 279 views
1 answer 362 views
1 answer 317 views
317 views asked Aug 11, 2018 by avibootz
1 answer 179 views
1 answer 217 views
...