sharpsnmplib icon indicating copy to clipboard operation
sharpsnmplib copied to clipboard

Add ObjectIdentifier.TryParse()

Open BornToBeRoot opened this issue 6 years ago • 1 comments

I think this would be better than try{ } catch{ }

Example call:

if(ObjectIdentifier.TryParse(string oid, out var identifier))
{

}

BornToBeRoot avatar Jul 23 '18 11:07 BornToBeRoot

A nice-to-have feature. You might send a pull request, and I can merge it once the time is right.

lextm avatar Aug 09 '18 20:08 lextm