1
// Copyright 2006 Alp Toker <alp@atoker.com>
2
// This software is made available under the MIT License
3
// See COPYING for details
9
namespace NDesk.DBus.Transports
11
abstract class UnixTransport : Transport
13
public override void Open (AddressEntry entry)
18
if (entry.Properties.TryGetValue ("path", out path))
20
else if (entry.Properties.TryGetValue ("abstract", out path))
23
throw new Exception ("No path specified for UNIX transport");
28
public override string AuthString ()
30
long uid = UnixUserInfo.GetRealUserId ();
32
return uid.ToString ();
35
public abstract void Open (string path, bool @abstract);