using System.IO;
using System.Reflection;
namespace RecrownedGTK {
public static class Utilities {
///
/// Returns a stream with the embedded resource.
/// Remember to dispose when done.
///
/// The path to the file in the assembly.
///
public static Stream ReadEmbeddedFile(string assemblyPath) {
return Assembly.GetExecutingAssembly().GetManifestResourceStream(assemblyPath);
}
}
}