NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AssemblyName.GetAssemblyName

Get the AssemblyName for a given file.

[Visual Basic]
Public Shared Function GetAssemblyName( _
   ByVal filename As String _
) As AssemblyName
[C#]
public static AssemblyName GetAssemblyName(
   string filename
);
[C++]
public: static AssemblyName* GetAssemblyName(
   String* filename
);
[JScript]
public static function GetAssemblyName(
   filename : String
) : AssemblyName;

Parameters

filename
The file for which to get the AssemblyName.

Return Value

Returns the AssemblyName for the given file.

Remarks

This will only work if the file contains an assembly manifest. This method causes the file to be opened and closed.

See Also

AssemblyName Class | AssemblyName Members | System.Reflection Namespace