Forum Discussion
Exporting ASM Policies in C#?
I am exploring the .NET API, and as a test case I'd like to use the export_policy_xml method to export a policy and save the output file to my desktop. I've looked at code samples and read through the API documentation but I haven't found anything that will get me going in the right direction. I am able to connect to our f5 and return bits of information here and there, but I've hit a roadblock trying to export the policy. Thoughts, comments, or suggestions?
Thanks!
- cjuniorNacreous
I have no full experience with iControl SOAP.
export_policy_xml( in String policy_name, in String filename );
FileTransferContext download_policy( in String policy_name, in long chunk_size, inout long file_offset );
https://devcentral.f5.com/wiki/iControl.ASM__Policy__export_policy_xml.ashx https://devcentral.f5.com/wiki/iControl.ASM__Policy__download_policy.ashx
Consider move to iControlREST and get more functionalities.
Recent Discussions
Related Content
* 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