public static object GetPropertyValue(string assemblyName, string assemblyTypeName, string name)
        {
            object returnValue = null;

            try
            {
                Type assemblyType = DynamicInstance.GetType(assemblyName, assemblyTypeName);
                if (assemblyType != null)
                {
                    returnValue = assemblyType.GetProperty(name).GetValue(null, null);
                }
            }
            catch (AmbiguousMatchException) { }
            catch (ArgumentNullException) { }

            return(returnValue);
        }
        public static object GetMethodValue(string assemblyName, string assemblyTypeName, string method, Object[] args)
        {
            object returnObject = null;

            try
            {
                Type assemblyType = DynamicInstance.GetType(assemblyName, assemblyTypeName);
                if (assemblyType != null)
                {
                    returnObject = assemblyType.InvokeMember(method, BindingFlags.InvokeMethod, null, null, args);
                }
            }
            catch (ArgumentNullException) { }
            catch (ArgumentException) { }
            catch (MethodAccessException) { }
            catch (MissingFieldException) { }
            catch (MissingMethodException) { }
            catch (TargetException) { }
            catch (AmbiguousMatchException) { }
            catch (InvalidOperationException) { }

            return(returnObject);
        }