I am working on the project, which there is c# project use the dll like that:
    public string GetMachineKey()
    {
        StringBuilder buff = new StringBuilder();
        buff.Length = 128;
        ZwCommDll.GetCPUMachineKey(buff, 128);
        string mk = buff.ToString();
        return mk;
    }
and I want do it similily in python use the ctypes.
But i am so comfused by the StringBuilder DataType.
Thanks very much your help.
 
    