Forum Discussion
Tony___Keith_93
Nimbostratus
Oct 07, 2005Help with get_netmask
I’m having a problem with the get_netmask method within the SelfIP interface.
I’m using the following code:
//The following three lines work fine
string[] str_iplist = iSelfIP.get_list();
string str_IP = "ip: " + str_iplist[0];
string str_VlanName = "Name: " + iSelfIP.get_vlan(str_iplist[0]);
//The next line produces an error:
long l_IPMask = iSelfIP.get_netmask(str_iplist[0]); //errors
Error
An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll
Additional information: There is an error in XML document (12, 42).
Does anyone have any ideas?
Thanks,
Tony
- Tony, could you post this to the appropriate iControl forum (4.x for BIG-IP v4.x and 9.x for BIG-IP v9.+
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects