public AfpResultCode Process(IAfpSession session, DsiHeader dsiHeader, AfpStream requestStream, AfpStream responseStream)
        {
            responseStream.WriteMacintoshDate(DateTime.Now);
            responseStream.WriteUInt8((byte)session.Server.Shares.Count); // Documentation says int16_t ?

            foreach (IStorageProvider share in session.Server.Shares) {
                responseStream.WriteUInt8(0); // Flags
                responseStream.WritePascalString(share.Name);
            }

            return AfpResultCode.FPNoErr;
        }
        public AfpResultCode Process(IAfpSession session, DsiHeader dsiHeader, AfpStream requestStream, AfpStream responseStream)
        {
            responseStream.WriteMacintoshDate(DateTime.Now);
            responseStream.WriteUInt8((byte)session.Server.Shares.Count); // Documentation says int16_t ?

            foreach (IStorageProvider share in session.Server.Shares)
            {
                responseStream.WriteUInt8(0); // Flags
                responseStream.WritePascalString(share.Name);
            }

            return(AfpResultCode.FPNoErr);
        }