예제 #1
0
 /// <summary>
 /// Set the internet feature enabled/disabled
 /// </summary>
 /// <param name="feature">The feature from <c>InternetFeaturelist</c></param>
 /// <param name="target">The target from <c>SetFeatureOn</c></param>
 /// <param name="enabled">enabled the feature?</param>
 /// <returns><c>true</c> if [is internet set feature enabled] [the specified feature]; otherwise, <c>false</c>.</returns>
 public static bool InternetSetFeatureEnabled(InternetFeaturelist feature, SetFeatureOn target, bool enabled)
 {
     return(CoInternetSetFeatureEnabled((int)feature, (int)target, enabled) == 0);
 }
예제 #2
0
 /// <summary>
 /// Determines whether the internet feature is enabled.
 /// </summary>
 /// <param name="feature">The feature from <c>InternetFeaturelist</c></param>
 /// <param name="target">The target from <c>SetFeatureOn</c></param>
 /// <returns><c>true</c> if the internet feature is enabled; otherwise, <c>false</c>.
 /// </returns>
 public static bool IsInternetSetFeatureEnabled(InternetFeaturelist feature, SetFeatureOn target)
 {
     return (CoInternetIsFeatureEnabled((int)feature, (int)target) == 0);
 }
예제 #3
0
 /// <summary>
 /// Determines whether the internet feature is enabled.
 /// </summary>
 /// <param name="feature">The feature from <c>InternetFeaturelist</c></param>
 /// <param name="target">The target from <c>SetFeatureOn</c></param>
 /// <returns><c>true</c> if the internet feature is enabled; otherwise, <c>false</c>.
 /// </returns>
 public static bool IsInternetSetFeatureEnabled(InternetFeaturelist feature, SetFeatureOn target)
 {
     return(CoInternetIsFeatureEnabled((int)feature, (int)target) == 0);
 }
예제 #4
0
 /// <summary>
 /// Set the internet feature enabled/disabled
 /// </summary>
 /// <param name="feature">The feature from <c>InternetFeaturelist</c></param>
 /// <param name="target">The target from <c>SetFeatureOn</c></param>
 /// <param name="enabled">enabled the feature?</param>
 /// <returns><c>true</c> if [is internet set feature enabled] [the specified feature]; otherwise, <c>false</c>.</returns>
 public static bool InternetSetFeatureEnabled(InternetFeaturelist feature, SetFeatureOn target, bool enabled)
 {
     return (CoInternetSetFeatureEnabled((int)feature, (int)target, enabled) == 0);
 }