Usually when I put a dll or binary as a resource I upload it to a page and download the data as follows:
web.DownloadDataAsync(new Uri("http://pagina/dll/ejemplo.dll"));
Now what I was trying to do was to put it as a resource in the following way:
b = Assembly.GetExecutingAssembly().GetManifestResourceStream("espaciodenombres.ejemplo.dll");
The problem is that now it returns me the following error.
You can not implicitly convert the 'System.IO.Stream' type into byte []
How could I put it as a resource and read it without having to host it on a web server ??