private FetchLocalInfo ( string path ) : void | ||
path | string | |
return | void |
private void FetchLocalInfo(string path)
{
using (var stream = new StreamReader(File.OpenRead(path)))
{
this.LocalInfo = new AddonInfo(path, stream.ReadToEnd(), AddonInfo.RemoteType.AVC);
this.IsLocalReady = true;
if (this.LocalInfo.ParseError)
{
this.SetHasError();
}
}
}