Community maintenance is complete. Thank you for your patience!

Software Development Kit (SDK) and API Discussions

Noob Question Regarding c#/.NET and .NET Bindings

darraghos

Hi guys, I'm developing some apps in C#. I have used older iterations of the SDK whereby you parsed through you NaElement objects. Now, it seems like this is not required anymore if one uses the .NET bindings. They seem to have wrapped up all the iter-start/iter-end functionaility in simpler APIs. Is that correct?

1 ACCEPTED SOLUTION

deepthis

It will depend on what software version is running on the system. Accordingly you will have to use tha appropriate library to make calls.

View solution in original post

7 REPLIES 7

deepthis

Yes, that's right. This change is not specific to .NET/C# though. The API behaviour has been changed.

darraghos

Great! So you can use either these new APIs in C# or the older ones from ManageOntap.dll ?

deepthis

It will depend on what software version is running on the system. Accordingly you will have to use tha appropriate library to make calls.

View solution in original post

darraghos

Ok, so for the more modern OnTAP versions, generally easier to program using the new .NET bindings and for older version (or to maintain compatability for tools across newer and older verisons on OnTap) use the old 'iter-start' style?

deepthis

Yes, that's right. You can use a system-get-version to check version in your application and have if-else section to deal with the iters.

darraghos

Awesome! Thanks for all your help. 

darraghos

Bump

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public