public static byte[] InvokeGetAttributes(object[] args) { byte[] address = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3 }; string ontId1 = (string)args[0]; getAttributes param = new getAttributes { ontId = ontId1 }; return(Native.Invoke(0, address, "getAttributes", param)); }
public System.IAsyncResult BegingetAttributes(getAttributes getAttributes, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("getAttributes", new object[] { getAttributes}, callback, asyncState); }