Exemplo n.º 1
0
    public string ServoUnityGetWindowURL(int windowIndex)
    {
        var sb = new StringBuilder(16384); // 16kb

        ServoUnityPlugin_pinvoke.servoUnityGetWindowMetadata(windowIndex, null, 0, sb, sb.Capacity);
        return(sb.ToString());
    }
Exemplo n.º 2
0
    public string ServoUnityGetWindowTitle(int windowIndex)
    {
        var sb = new StringBuilder(1024); // 1kb

        ServoUnityPlugin_pinvoke.servoUnityGetWindowMetadata(windowIndex, sb, sb.Capacity, null, 0);
        return(sb.ToString());
    }