Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-242

Support serialization of IPAddress and IPEndPoint

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.1
    • 1.0
    • None
    • None

    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.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: