Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

29 wiersze
601B

  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace NScript.Filmscript
  4. {
  5. public static class GeneralBindings
  6. {
  7. [DllImport("filmscript.dll")]
  8. public static extern string filmscript_version();
  9. public static string Version()
  10. {
  11. return filmscript_version();
  12. }
  13. public static bool Exists()
  14. {
  15. try
  16. {
  17. filmscript_version();
  18. return true;
  19. }
  20. catch (DllNotFoundException)
  21. {
  22. return false;
  23. }
  24. }
  25. }
  26. }