MatthewCollins

.Net Version

Apr 5th, 2020 (edited)
854
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.37 KB | None | 0 0
  1. Imports System
  2. Imports System.Diagnostics
  3.  
  4. Class Program
  5.     Public Shared Sub Main()
  6.         Dim Info As New ProcessStartInfo
  7.         Info.FileName = "dotnet"
  8.         Info.Arguments = "--info"
  9.         Info.RedirectStandardOutput = True
  10.         With Process.Start(Info)
  11.             Console.Writeline(.StandardOutput.ReadToEnd)
  12.         End With
  13.     End Sub
  14. End Class
Add Comment
Please, Sign In to add comment