Zenturio
asked on
Equivalent of PHP Function GZDeflate in C#
Hello Experts,
To communicate SAML messages to an Authentication Server, I have PHP code that generates a SAML message, then compresses it using gzdeflate().
I would like to translate this to ASP.Net (C#) but I can't find an equivalent for gzdeflate(). Who can help me?
To communicate SAML messages to an Authentication Server, I have PHP code that generates a SAML message, then compresses it using gzdeflate().
I would like to translate this to ASP.Net (C#) but I can't find an equivalent for gzdeflate(). Who can help me?
have a look at http://www.icsharpcode.net/opensource/sharpziplib/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Another point to mention here is that when including/referencing/link ing to 3rd party libraries especially ones that are licensed under any variant of the GPL you could face problems with licensing/royalties or just be obliged to add statements of use in prominent places in your app that may be less than desirable.
The ziplib project mentioned in the first reply actually has an exception made on its page to permit you to use it in any manner you like but you should be very careful using any code or library that is protected by GPL if you intend to use it commercially or make profit from your project/product.
Here is a great start point to understanding the protections (from commercial explotiation) that the GPL provides to the Free Software community and the obligations in return that you are expected should you link to GPL code.
http://en.wikipedia.org/wiki/GNU_General_Public_License
The ziplib project mentioned in the first reply actually has an exception made on its page to permit you to use it in any manner you like but you should be very careful using any code or library that is protected by GPL if you intend to use it commercially or make profit from your project/product.
Here is a great start point to understanding the protections (from commercial explotiation) that the GPL provides to the Free Software community and the obligations in return that you are expected should you link to GPL code.
http://en.wikipedia.org/wiki/GNU_General_Public_License