<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.7.26381.103" />

System.Reflection.Metadata.AssemblyNameInfo

public sealed class AssemblyNameInfo
Describes an assembly.
public string CultureName { get; }

Gets the name of the culture associated with the assembly.

public AssemblyNameFlags Flags { get; }

Gets the attributes of the assembly.

public string FullName { get; }

Gets the full name of the assembly, also known as the display name.

public string Name { get; }

Gets the simple name of the assembly.

public ImmutableArray<byte> PublicKeyOrToken { get; }

Gets the public key or the public key token of the assembly.

public Version Version { get; }

Gets the version of the assembly.

public AssemblyNameInfo(string name, Version version = null, string cultureName = null, AssemblyNameFlags flags = 0, ImmutableArray<byte> publicKeyOrToken = default)

Initializes a new instance of the AssemblyNameInfo class.

public static AssemblyNameInfo Parse(ReadOnlySpan<char> assemblyName)

Parses a span of characters into a assembly name.

public static bool TryParse(ReadOnlySpan<char> assemblyName, out AssemblyNameInfo result)

Tries to parse a span of characters into an assembly name.

Initializes a new instance of the AssemblyName class based on the stored information.