unity3d 调用加密狗的dll

using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class what : MonoBehaviour {
 [DllImport ("ETDogCheck")]
 private static extern int et_FindToken (string et99pid, ref int  et99count);
 // Use this for initialization
 public int sdfsdfwe;

 public int rrrrrrr;


 void Start () {
 sdfsdfwe=et_FindToken("sdfdssdf", ref rrrrrrr);
 }

 // Update is called once per frame
 void Update () {

 }
 void OnGUI(){
 GUI.Button (new Rect (10,75,Screen.width - 220,40), "code:"+sdfsdfwe+"dog:"+rrrrrrr);
  
  if(sdfsdfwe!=0){Application.Quit();}
}}