Brian_Schroeder
Jun 23, 2006Nimbostratus
Redundant authentication
Hi, I'm coding an app to grab both statistics and performance data from a device. Since I'm using C, this involves my use of both SystemSystemInformation.cs and LocalLBVirtualServer.cs, among other files. In order to work with either of these classes as is, I have to separately pass credentials and the URL to both of them -- seemingly connecting to the same device twice, just because I want slightly different data. Does this add a lot of overhead? I want to keep pretty efficient.
Do you have any tips, if it would be better to authenticate only once, of how I could consolidate code from these two different libraries? It doesn't seem trivial to me. ...Or anything else I've failed to consider?
Thanks,
Brian