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!

Assembly Class Overview

The Assembly class provides the following methods for retrieving resources:

public virtual Stream GetManifestResourceStream(Type type, String name);

This method returns a managed stream for the resource data given the logical name of the resource qualified by the namespace of the type. For example, if the logical name of the resource is MyResource and the fully qualified name of the type is MyNameSpace.Foo, GetResource will return the resource data for the resource named MyNameSpace.MyResource.

public virtual Stream GetManifestResourceStream(String name);

This method returns a managed stream for the resource data given the logical name of the resource.

public Assembly GetSatelliteAssembly(CultureInfo culture);

This method returns an assembly’s satellite assembly for the given culture.

public String[] GetManifestResourceNames();

This method returns the logical resource names of the resources defined in an assembly.