C
C#11mo ago
Elmishh

✅ what is a .zero resource file?

im looking at some code for an encoder/decoder and it uses a resource file called Aura.zero but its empty (its size is 2 KB), does anyone know what it is?
11 Replies
Elmishh
Elmishh11mo ago
using (Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Aura.zero"))
using (Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Aura.zero"))
Jimmacle
Jimmacle11mo ago
do you have the actual code that accesses this resource?
Elmishh
Elmishh11mo ago
that is the code that accessed it
using (Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Aura.zero"))
{
using (StreamReader streamReader = new StreamReader(new MemoryStream(UnHush(Read(manifestResourceStream)))))
{
_list = streamReader.ReadToEnd().Split(new string[]
{
Environment.NewLine
}, StringSplitOptions.None).ToList<string>();
}
}
using (Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Aura.zero"))
{
using (StreamReader streamReader = new StreamReader(new MemoryStream(UnHush(Read(manifestResourceStream)))))
{
_list = streamReader.ReadToEnd().Split(new string[]
{
Environment.NewLine
}, StringSplitOptions.None).ToList<string>();
}
}
private static byte[] Read(Stream A_0)
{
byte[] result;
using (MemoryStream memoryStream = new MemoryStream())
{
A_0.CopyTo(memoryStream); // THIS RETURNS AN NRE
result = memoryStream.ToArray();
}
return result;
}
private static byte[] Read(Stream A_0)
{
byte[] result;
using (MemoryStream memoryStream = new MemoryStream())
{
A_0.CopyTo(memoryStream); // THIS RETURNS AN NRE
result = memoryStream.ToArray();
}
return result;
}
anyone?
Mayor McCheese
Mayor McCheese11mo ago
there's not anything to say what it is; a quick google search shows zero is frequently xeno innovations, some medical company. ¯\_(ツ)_/¯
Elmishh
Elmishh11mo ago
yeah i tried googling
Mayor McCheese
Mayor McCheese11mo ago
What are you actually trying to solve?
Elmishh
Elmishh11mo ago
theres nothing about that kind of file type im decrpyting some code
Mayor McCheese
Mayor McCheese11mo ago
Sounds pretty sus at this point tbh
Elmishh
Elmishh11mo ago
trying to decrpyt a piece of code in a virus that was encrypted using that took me long enough just to get past the compiling errors on the decoder
Jimmacle
Jimmacle11mo ago
File extensions are just suggestions The data could be anything
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ What is the best GUI system for C#?Does anyone know a good lib that impliment a gui system?Background service to consume a rabbitmq queue, messages unackedI have a background worker which listens to a rabbitmq queue for email sending. The messages are add❔ What is default data types when reading from Excel sheet for upload into DB.?I was trying to upload a excel sheet but having type miss match error while the data types in excel ❔ What is available approaches to communicate between MicroservicesHello dear friends, Let's assume we have a project has the following Microservices (AuthMicroservice✅ Could not load assembly UWP [Mysql Data] (Resolved alone)Hello everyone. I reached something interesting this last hours. I can't work anymore on my project.❔ How to implement an "undo move" function in a game where I need to keep track of multiple objects?PS: I'm using Unity by the way. tldr; In my game, every time the player moves one tile, different o❔ ✅ 'Engines' does not exist in the namespace 'BenchmarkDotNet'Other than a problem, I'm not sure what I've got going on here. In the terminal, I've tried `dotnet❔ nuget doesnt work anymore. IHi, I checked the settings and it seems good. https://api.nuget.org/v3/index.json I get the follow❔ EF Core: Owned property with converter expression cannot be convertedHey guys, we're having this issue. ShoppingCart is an owned entity and Items is a List of objects,❔ Amazon SP APIAnyone have use the "papi" before? I don't usually use people's open api so I don't know how to auth