cotopboy
11/11/2013 - 9:19 AM

Resource Getresource

Resource Getresource

var assembly = Assembly.GetExecutingAssembly();
var stream = assembly.GetManifestResourceStream("Cbb.Smms.EMH.ZRXPExport.ZrxpTemplate.txt");
using (StreamReader reader = new StreamReader(stream))
{
  return reader.ReadToEnd();
}
 var value = Properties.Resources.ResourceManager.GetString("R1");