问题
Can someone direct me to a code sample of how to use libpurple from .NET?
回答1:
libpurple is an unmanaged library - you'll need to either obtain a wrapper for it, or write your own. Quick Google search did not reveal any good .Net wrappers so writing your own might be your only option.
Here's a simple tutorial on writing a wrapper: Call Unmanaged Code. Part 1 - Simple DLLImport
回答2:
There is LibPurple-Sharp project https://code.google.com/p/libpurple-sharp/
来源:https://stackoverflow.com/questions/1532887/using-libpurple-from-net