ServerService: Implementation improvement

This commit is contained in:
Tal Aloni 2017-09-09 12:14:11 +03:00
parent 4d613ecd11
commit a9b13c99e5

View file

@ -56,8 +56,13 @@ namespace SMBLibrary.Services
parser.ReadEmbeddedStructureFullPointer<ShareInfo1Container>(ref info1);
Info = info1;
break;
default:
case 2:
case 501:
case 502:
case 503:
throw new NotImplementedException();
default:
break;
}
parser.EndStructure(); // SHARE_ENUM_UNION
parser.EndStructure(); // SHARE_ENUM_STRUCT