Using 7zip is going to require a C# wrapper, like SevenZipSharp: [^].
However, since .NET now provides GZip, I use that, and it's quite powerful.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
But OG's suggestion was to use WinZip to manually compress the files, to see how much compression could reasonably be expected. I was just pointing out that you don't need to pay for a tool to do that.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
You need to go back to the point in your code where the error occurred to try and establish which variable does not contain the correct value. Use a breakpoint and your debugger to stop the program just before that point and step through to see what is happening.
Andy, when you post a question like this, it's helpful to provide a little bit more information. For instance, you're leaving us to guess where SerializationEngine comes from, so while I assume you're talking about SharpGL I can't be certain this is the case. As a hint, when you're running the application inside Visual Studio, you can get the stack trace where the exception occurs. When you get the exception dialog, choose to copy the details of the exception as this lists the full stack and gives you more of an idea where the problem is. Also, if the code you're running against is SharpGL, you can download and build it yourself and step into the code while you're debugging.
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
So where are you stuck? What have you tried? What help do you need?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
I have a question about eager loading of navigation properties using EF6. Note I like to use the extension syntax.
Suppose I have three tables A, B and C. There is a one-to-many relationship between A and B, and also a relationship between B and C. So, for a given A, I can obtain the collection of Bs using two methods:
Method 1 : using a primary key query...
var Bs = context.B.Where(b => b.AId == A.Id).ToList();
Method 2 : using the navigation property...
var Bs = a.Bs.ToList();
Now, suppose I want to load C for each B at the same time. Using Method 1 it is...
var Bs = context.B.Include(b => b.C).Where(b => b.AId == A.Id).ToList();
My question is, is there an equivalent simple way to load C for each B when using Method 2?
A lot of the time this is based on the serializer that you're using. JSON.NET, for instance, will do this automatically when serializing an IQueryable. Depending on your serialization strategy, you may need to roll your own.
If you need to work with it in intermediate logic, any queryable references will be resolved automatically as long as is not disposed when you attempt to call them. Just don't force enumeration on the collection until you actually need the data item.
var b = context.As.SelectMany(a => a.Bs); //flattens our multi-dimensional arrayvar c = PerformSomeLogicOnEnumerable(b);
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
OriginalGriff is right. You might think that you have a legitimate reason for wanting to do this (although I remain to be convinced about this) but you wouldn't be the only one able to read the answer and, if we provide you with code to do this, we are also providing the code for people who want to do damage with this technique. This is why you will get no code for this here - we don't know who will end up reading it.
I already suggested you just need to use the web interface to try and login. If your password is not valid it will not let you. But if you want to know how to hack a system then you have come to the wrong place.
No, i don't want connect the setup interface router! just i want for example: i have a textBox and into it is "1234" pass & i have a button . i want when click the button the "1234" in the textBox send to the my SSID for example "USER" & return "correct" or "incorrect" the pass ! It is very complicated ? please help me...