forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathSystem.Net.cs
More file actions
63 lines (53 loc) · 1.31 KB
/
System.Net.cs
File metadata and controls
63 lines (53 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
namespace System.Net
{
class HttpListener : IDisposable
{
void IDisposable.Dispose()
{
}
public HttpListenerContext GetContext() => null;
}
public class HttpListenerContext
{
public HttpListenerResponse Response => null;
}
public class HttpListenerResponse
{
public System.IO.Stream OutputStream => null;
}
public class WebUtility
{
public static string UrlEncode(string value) => null;
public static string UrlDecode(string value) => null;
public static string HtmlEncode(string value) => null;
}
public class IPAddress
{
public static IPAddress Parse(string ipString) => null;
}
public class IPHostEntry
{
public string HostName { get; set; }
}
public class Dns
{
public static IPHostEntry GetHostByAddress(IPAddress address) => null;
}
}
namespace System.Net.Http
{
public class StringContent
{
public StringContent(string s) { }
}
}
namespace System.Net.Mail
{
public class MailMessage : IDisposable
{
public MailMessage(string from, string to, string subject, string body) { }
void IDisposable.Dispose() { }
public string Body { get; set; }
public string Subject { get; set; }
}
}