Re: C# bindings (Was: First patch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



?In fact, yes. The current content is a Visual Studio solution/project architecture, tested only with windows .Net, not Mono. Also it's an evidence but bindings require the libvirt binary, in the .Net case the "libvirt-0.dll" which is the result of the compilation of libvirt for windows.

Maybe we can also add a little explaination. I can try to give you one, but my english is really not perfect :S (but you can read that ever :) )

Here is my explaination :

CSharp libvirt bindings is a class library. Compiling it result to a dll "LibvirtBindings.dll" which can be added as a .Net reference to any .Net project which need access to libvirt.

The class library expose the "LibvirtBindings" namespace. This namespace expose all needed types (enum, struct). It also expose 2 main classes : "libVirt" and "libvirtError". The "libVirt" class expose all interfaces of the libvirt library to handle virtualized domains and "libvirtError" class expose all interfaces of the libvirt library to handle errors raised while using the library.

Let me know if my explaination is not clear :S

Arnaud Champion

--------------------------------------------------
From: "Justin Clift" <jclift@xxxxxxxxxx>
Sent: Monday, October 18, 2010 8:53 PM
To: <arnaud.champion@xxxxxxxxxx>
Cc: <veillard@xxxxxxxxxx>; <libvir-list@xxxxxxxxxx>
Subject: Re:  C# bindings (Was:  First patch)

On 10/19/2010 05:13 AM, arnaud.champion@xxxxxxxxxx wrote:
?Wow it's very nice :)

Just one thing you had to know, I plan to add sample code of using
libvirt bindings, so in the future, I will add a column to indicate the
sample code snippet for each function et bindings.

That sounds like a really good idea. :)

As a thought, are there instruction that people should be using?

Suddenly worried that people might download the git source code for
this, and not know what to do with it.

?

Regards and best wishes,

Justin Clift


Arnaud



--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]