// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
+
+#if NET_2_0 && SECURITY_DEP
+
namespace System.Net {
sealed class ListenerPrefix
{
if (default_port == -1) {
default_port = (uri.StartsWith ("https://")) ? 443 : -1;
secure = true;
- throw new NotSupportedException ("We don't support https yet.");
}
int length = uri.Length;