Removed Consoles and ^Ms
[mono.git] / mcs / class / System / System.Net / EndPoint.cs
1 //
2 // System.Net.EndPoint.cs
3 //
4 // Author:
5 //   Dick Porter (dick@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System.Net.Sockets;
11
12 namespace System.Net {
13         [Serializable]
14         public abstract class EndPoint {
15
16                 // NB: These methods really do nothing but throw
17                 // NotSupportedException
18                 
19                 public virtual AddressFamily AddressFamily {
20                         get {
21                                 throw new NotSupportedException();
22                         }
23                 }
24                 
25                 public virtual EndPoint Create (SocketAddress address)
26                 {
27                         throw new NotSupportedException();
28                 }
29
30                 public virtual SocketAddress Serialize ()
31                 {
32                         throw new NotSupportedException();
33                 }
34
35                 protected EndPoint ()
36                 {
37                 }
38         }
39 }
40