void UrunGetir(int ProducktID)
        {
            n11ProductService.GetProductByProductIdRequest ress = new n11ProductService.GetProductByProductIdRequest();

            ProductAuthentication.appKey    = "66e296ef-ba12-4c7a-8d3f-67027f1e1962"; //api anahtarınız
            ProductAuthentication.appSecret = "OiVekmVJRKC2wi0X";                     //api şifeniz

            ress.auth      = ProductAuthentication;
            ress.productId = ProducktID;



            var ahandaURun = porttur.GetProductByProductId(ress);
            //porttur.GetProductList.
            //porttur.GetProductList
            GetProductListRequest getProductListRequest = new GetProductListRequest();

            getProductListRequest.auth = ProductAuthentication;

            n11ProductService.RequestPagingData requestPagingData = new n11ProductService.RequestPagingData();

            //requestPagingData.currentPage (currentPageValue);
            //requestPagingData.setPageSize(pageSizeValue);


            getProductListRequest.pagingData = requestPagingData;


            porttur.GetProductList(getProductListRequest);


            MessageBox.Show(ahandaURun.product.title);
        }
        public void UrunlistesiniGetir()
        {
            //Authentication authentication = new Authentication();
            authentication.appKey = strAppKey;

            authentication.appSecret = strAppSecret;

            RequestPagingData requestPagingData = new RequestPagingData();

            requestPagingData.currentPage = currentPageValue;
            requestPagingData.pageSize    = pageSizeValue;

            GetProductListRequest getProductListRequest = new GetProductListRequest();

            getProductListRequest.auth       = authentication;
            getProductListRequest.pagingData = requestPagingData;

            n11ProductService.ProductServicePortService port = new n11ProductService.ProductServicePortService();
            GetProductListResponse response = port.GetProductList(getProductListRequest);

            if (productList == null)
            {
                this.productList = response.products.ToList();
            }
            else
            {
                productList.AddRange(response.products);
            }


            //productList[0].stockItems.stockItem.

            if (response.pagingData.currentPage != response.pagingData.pageCount - 1) //son sayfaya kadar gidiyoruz
            {
                currentPageValue = (int)response.pagingData.currentPage + 1;
                UrunlistesiniGetir();
            }
            //return productList;
        }