Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
keithjjones opened this issue Sep 28, 2015 · 1 comment

Comments

@keithjjones
Copy link

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;

@keithjjones
Copy link
Author

This has been fixed in pull request #2. Once it is accepted you can close this issue.

Repository owner deleted a comment from Yucao-cy Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant