Skip to content

Resolving 4.4.4.4 to Organization using the handle does not resolve #1

@keithjjones

Description

@keithjjones

The following code does not provide the same output as whois.arin.net (when IP = 4.4.4.4) and throws an exception:

ArinWhois.Client.ArinClient myArinClient = new ArinWhois.Client.ArinClient();
var myWhoIsResults = myArinClient.QueryIpAsync(IP).Result;

var myWhoIsOrgResults = myArinClient.QueryResourceAsync(myWhoIsResults.Network.OrgRef.Handle, ArinWhois.Client.ArinClient.ResourceType.Organization).Result;

mywhoisorgname = myWhoIsOrgResults.Organization.Name.Value;
mywhoisorgcity = myWhoIsOrgResults.Organization.City.Value;
mywhoisorgpostalcode = myWhoIsOrgResults.Organization.PostalCode.Value;
mywhoispocrawlink = myWhoIsOrgResults.PointOfContact.Ref.Value;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions