Skip to content

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

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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