Hi,
DNSService::Register currently assumes that the caller will either pass NULL
or a non-empty byte array as txtRecord.
It throws index out of range exception if 0-sized array is passed.
I think, for consistency reasons, array of size 0 should be a valid input
and mean the same thing as passing NULL.
Actually, I prefer not using nulls at all when I deal with .NET strings and
arrays. Eliminates special cases.
--
Pavel
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.