If you're using the new Managed Provider for Host Files which is part of Host Integration Server 2006, you may have come across the need to verify the contents of a HostFileRecordSet object. Here's a handy little C# code snippet which prints out the contents of a HostFileRecordSet to the console. I use when doing test case development and in some of my manual test cases to verify the data I'm working with has been parsed correctly.
Here's the snippet (as with other samples, it's provided as-is with no warranty expressed or implied, etc, etc...):
&
read more »
Be the first to post a Comment!