Exemplo n.º 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();
		}
Exemplo n.º 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();
        }