static unsafe NPError destroystream(NPP* instance,NPStream* stream,NPReason reason)
        {
            File.AppendAllText(logfile,"destroystream\n");

            return NPError.NO_ERROR;
        }
 static unsafe void urlnotify(NPP* instance,sbyte* URL,NPReason reason,void* notifyData)
 {
     File.AppendAllText(logfile,"urlnotify\n");
 }