Example #1
0
		public override void Authenticate(NpgsqlConnector context, byte[] password)
		{
			NpgsqlPasswordPacket pwpck = new NpgsqlPasswordPacket(password);
			BufferedStream stream = new BufferedStream(context.Stream);
			pwpck.WriteToStream(stream);
			stream.Flush();
		}
Example #2
0
        public override void Authenticate(NpgsqlConnector context, byte[] password)
        {
            NpgsqlPasswordPacket pwpck  = new NpgsqlPasswordPacket(password);
            BufferedStream       stream = new BufferedStream(context.Stream);

            pwpck.WriteToStream(stream);
            stream.Flush();
        }