public InitConnectionRequest(int apiId) { invokeWithLayer = new InvokeWithLayerArgs(); initConn = new InitConnectionArgs(); invokeWithLayer.layer = 53; initConn.api_id = apiId; initConn.app_version = "1.0-SNAPSHOT"; initConn.lang_code = "en"; initConn.system_version = "WinPhone 8.0"; initConn.device_model = "WinPhone Emulator"; initConn.query = new GetConfigArgs(); invokeWithLayer.query = initConn; }
public InitConnectionRequest(int apiId) { invokeWithLayer = new InvokeWithLayerArgs(); initConn = new InitConnectionArgs(); invokeWithLayer.layer = 53; initConn.api_id = apiId; initConn.app_version = "1.0-SNAPSHOT"; initConn.lang_code = "en"; initConn.system_version = "WinPhone 8.0"; initConn.device_model = "WinPhone Emulator"; initConn.query = new GetConfigArgs(); invokeWithLayer.query = initConn; }
public Task <System.Object> InvokeWithLayerAsync(InvokeWithLayerArgs args) { return(_remoteProcedureCaller.RpcAsync <System.Object>(args)); }