Uses reflection to show all System assemblies which are currently loaded
Imports System.IO
Imports System.Reflection
Imports System.Linq
Imports System.Xml.Linq
Public Class MainClass
Public Shared Sub Main
Dim Assemblies = From assembly In My.Application.Info.LoadedAssemblies _
Where assembly.GetName().Name.StartsWith("System.") _
Select assembly.GetName().Name
Console.WriteLine("Currently-loaded System assemblies:")
For Each a In Assemblies
Console.WriteLine(a)
Next
End Sub
End Class