Table of Contents

Method GetIpAddress

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

GetIpAddress(string)

First value of an IP address field, or null if absent. IPv4 addresses come back as IPv4.

public IPAddress? GetIpAddress(string field)

Parameters

field string

Returns

IPAddress

Exceptions

InvalidOperationException

The value isn't an IP address.