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.
|
- using System;
- using System.Runtime.InteropServices;
-
- namespace NScript.Filmscript
- {
- public static class GeneralBindings
- {
- [DllImport("filmscript.dll")]
- public static extern string filmscript_version();
-
- public static string Version()
- {
- return filmscript_version();
- }
-
- public static bool Exists()
- {
- try
- {
- filmscript_version();
- return true;
- }
- catch (DllNotFoundException)
- {
- return false;
- }
- }
- }
- }
|