[CSHARP-242] Support serialization of IPAddress and IPEndPoint Created: 10/Jun/11  Updated: 02/Apr/15  Resolved: 10/Jun/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

Type: New Feature Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Support serialization of IPAddress and IPEndPoint. They will be represented as strings in the database.

Examples (dotted quad notation for IPv4 and colon-hexadecimal notation for IPv6):

IPAddress serializes to:"1.2.3.4" (IPv6 IPAddress serializes to: "1:2:3:4:5:7:8")
IPEndPoint serializes to: "1.2.3.4:9999" (IPv6 IPEndPoint serializes to: "[1:2:3:4:5:7:8]:9999")

These will always be numeric addresses.



 Comments   
Comment by Robert Stam [ 10/Jun/11 ]

Implemented.

Generated at Wed Feb 07 21:36:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.