private Assembly thisAssembly;
public void MethodName(string name)
{
if (thisAssembly == null)
{
thisAssembly = GetType().Assembly;
}
// Here is the resource stream
Stream s = thisAssembly.GetManifestResourceStream(name);
}
Regards,
Bela Istok
"Tim" <ti***@tim.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Yes
"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
>"Tim" <ti***@tim.comwrote in
news:#N**************@TK2MSFTNGP03.phx.gbl:
>>Hi,
I have a XML file the I use as config file for a libary. Is there a
way to use reflection to access the file using XMLReader?
Did you embed the file as a local resource?