You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 rivejä
600 B

  1. // MyClass.cs created with MonoDevelop
  2. // User: sam at 13:14 04/10/2008
  3. //
  4. // To change standard headers go to Edit->Preferences->Coding->Standard Headers
  5. //
  6. using System;
  7. using System.Runtime.InteropServices;
  8. using System.Security;
  9. namespace Pipi
  10. {
  11. public static class Libpipi
  12. {
  13. [DllImport("libpipi.dll", CallingConvention=CallingConvention.Cdecl),
  14. SuppressUnmanagedCodeSecurity]
  15. private static extern IntPtr pipi_get_version();
  16. public static string getVersion()
  17. {
  18. return Marshal.PtrToStringAnsi(pipi_get_version());
  19. }
  20. }
  21. }