Beispiel #1
0
 static extern long GciTsLogin(
     string stoneNRS,
     string hostUserId,
     string hostPassword,
     bool hostPwIsEncrypted,
     string gemNRS,
     string gsUserId,
     string gsPassword,
     uint loginFlags,
     int haltOnErrNum,
     ref GciErrSType err);
Beispiel #2
0
        public override long login()
        {
            GciErrSType errSType = new GciErrSType();
            long        session  = GciTsLogin(
                "!tcp@localhost#server!gs64stone",
                null,   // hostUserId
                null,   // hostPassword
                false,  // hostPwIsEncrypted
                "!tcp@localhost#netldi:gs64ldi#task!gemnetobject",
                "DataCurator",
                "swordfish",
                0,      // loginFlags
                0,      // haltOnErrNum
                ref errSType);

            return(session);
        }