Update Client.cs

Fixed the sampling.