Uploading files to a NTLM protected site inside a UIWebView using NSUrlSession with Xamarin

When using NSUrlSession to manage requests made from a UIWebView to NTLM protected web content, an upload file request fails when a NTLM handshake is performed. There are three factors that cause the failure to occur: (1) NTLM is a connection-based authentication protocol and the NSUrlSession doesn't always maintain open…

Determining the type of security (lock) settings on an Android device in Xamarin

If you're writing an Android application and interacts with sensitive company or user information, you may want to restrict offline data and/or credential storage to devices that meet certain security criteria such as lock screen password settings. In enterprise settings, this is often addressed by distributing software via a…

Creating a NSUrlProtocol that uses NSUrlSession in Xamarin

In iOS 7.0 Apple introduced a new class suite, NSUrlSession, to manage the request-response web calls, replacing the NSUrlConnection class suite with more robust and granular control of how requests are controlled both at the session and individual request levels. More information about the NSUrlSession class suite can be…