RangerMSP Asset Search

This C# code snippet will return an array of Asset Records that have an Asset Code beginning with D
    class Program
    {
        /*
        * Instructions
        * 
        * 1. Disable Authentication and SSL.
        * 2. Add a Service Reference to the RangerMSP Service, name the reference RangerMSPService.
        *    The uri will generally be http://localhost:11111/RangerMSP.
        * 3. With new release you may have to update the Service Reference.
        */
        static void Main(string[] args)
        {
            RangerMSPService.AssetClient assetClient = new RangerMSPService.AssetClient();
            (assetClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).MaxReceivedMessageSize = int.MaxValue;
            (assetClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).MaxBufferSize = int.MaxValue;
            (assetClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).ReceiveTimeout = new TimeSpan(0, 10, 0);
            RangerMSPService.Select select = new RangerMSPService.Select
            {
                Link = "and",
                RecordLimit = 0,
                Criterias = new RangerMSPService.Criteria[1]
                {
                        new RangerMSPService.Criteria
                        {
                            Field = "",
                            Operation = "opLike",
                            Value = ""
                        }
                }
            };
            select.Criterias[0].Field = "AssetCode";
            select.Criterias[0].Value = "D" + "%";
            select.RecordLimit = 10;                    // Define max number of records to retrieve. 
            RangerMSPService.AssetRecord[] assetRecord = assetClient.Select(select);
            foreach (RangerMSPService.AssetRecord record in assetRecord)
            {
                string assetCode = record.AssetCode;
                Console.WriteLine($"assetCode: {assetCode}");
            }
            Console.WriteLine("Press enter to continue.");
            Console.ReadLine();
        }
    }