CSKernelClient.cError.getLastErrorFunction C# (CSharp) Method