zaproxy / zap-api-dotnet

ZAP Dot NET API
Apache License 2.0
35 stars 35 forks source link

zap-api-dotnet

OWASP ZAP Dot NET API

Samples and how to:

Although the target framework for this dll is .Net framework 4.5, you could also use the library from a .Net core application.

In case of TLS errors, try:

        private static void ConfigureTLSSettingsForDotNet45()
        {
            ServicePointManager.Expect100Continue = true;
            ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls
                   | SecurityProtocolType.Tls11
                   | SecurityProtocolType.Tls12
                   | SecurityProtocolType.Ssl3;
        }