I have the following resource included to my project:
Is there any possible way to get the resource path or an alias to call it?
Since it is essential that you can know the route or alias of the resource to be able to use it, for example in the function that will call this resource.
Funcion(string ruta,string argumento)
In my case I will read the resource and then do a series of things:
private static void Funcion(string ruta, string argumento){
//existe la ruta
if (!File.Exists(ruta))
return;
//leeme el fichero
byte[] resourcesBuffer = File.ReadAllBytes(ruta);
/*etc*/
}
How could I get the route or is it impossible to use a resource included in my project?