devxlogo

IsAssembly – Check whether a specified file is a .NET assembly

IsAssembly – Check whether a specified file is a .NET assembly

' Check whether a specified file is a .NET assemblyFunction IsAssembly(ByVal filename As String) As Boolean    Try        Dim asm As [Assembly] = [Assembly].LoadFrom(filename)        ' if no exception is thrown, this is an assembly        Return True    Catch e As Exception        Return False    End TryEnd Function

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist